{include file="start"/}
<link href="//api.hongyanche.com/_hongyanche/css/console.css" rel="stylesheet" >
<title>{$admin} 权限错误</title>
<div id="container"></div>
<style type="text/css">
	@media(min-width: 1000px){
		.bg-blur-white
		{padding:10px;text-align: center;}
		.bg-login
		{position: absolute;left:0;right: 0;top:0;bottom: 0}
		.bg-blur-white
		{border-radius:10px;max-width: 350px;flex:1;margin: 200px auto;}
	}
</style>
<script type="text/html" id="tpl-home">
	<div class='page bg-login'>
		<div class='bg-blur-white'>
			<div class="weui-msg">
				<div class="weui-msg__icon-area"><i class="weui-icon weui-icon-warn weui-icon_msg"></i></div>
				<div class="weui-msg__text-area">
					<h2 class="weui-msg__title">权限错误</h2>
					<p class="weui-msg__desc">你没有操作<a href="javascript:void(0);">{$admin}</a>工作台的权限文字链接</p>
				</div>
				<div class="weui-msg__opr-area">
					<p class="weui-btn-area">
						<a class='weui-btn weui-btn_warn' id='logout'>更换账号</a>
						<a class='weui-btn weui-btn_default' href='/'>返回首页</a>
					</p>
				</div>
			</div>
		</div>
	</div>
</script>
<script type="text/javascript">
	$(window).on('bc-logout-success', function(event) {
		location.reload();
	});
</script>
{include file="end"/}